[INFO] cloning repository https://github.com/IceSentry/olc_fps_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IceSentry/olc_fps_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceSentry%2Folc_fps_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceSentry%2Folc_fps_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d081c1194a77e3d454a925422202fe043d6f8723
[INFO] checking IceSentry/olc_fps_rs against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceSentry%2Folc_fps_rs" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/IceSentry/olc_fps_rs on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/IceSentry/olc_fps_rs
[INFO] finished tweaking git repo https://github.com/IceSentry/olc_fps_rs
[INFO] tweaked toml for git repo https://github.com/IceSentry/olc_fps_rs written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/IceSentry/olc_fps_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded glam v0.8.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 278c91d49aaec86445b94cef0e662fb8c97b17359a6f5153f53630945d571991
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "278c91d49aaec86445b94cef0e662fb8c97b17359a6f5153f53630945d571991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "278c91d49aaec86445b94cef0e662fb8c97b17359a6f5153f53630945d571991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "278c91d49aaec86445b94cef0e662fb8c97b17359a6f5153f53630945d571991", kill_on_drop: false }`
[INFO] [stdout] 278c91d49aaec86445b94cef0e662fb8c97b17359a6f5153f53630945d571991
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d72e02fe87eac8481da15cd40da81645399b53f60e01b9718e9f2211a01d70b3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d72e02fe87eac8481da15cd40da81645399b53f60e01b9718e9f2211a01d70b3", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking glam v0.8.6
[INFO] [stderr]     Checking olc_fps v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/main.rs:78:31
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn create_console_buffer() -> HANDLE {
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateConsoleScreenBuffer` in this scope
[INFO] [stdout]   --> src/main.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |         h_console = CreateConsoleScreenBuffer(
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stdout]   --> src/main.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stdout]   --> src/main.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |             GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONSOLE_TEXTMODE_BUFFER` in this scope
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             CONSOLE_TEXTMODE_BUFFER,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             NULL,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleActiveScreenBuffer` in this scope
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         SetConsoleActiveScreenBuffer(h_console);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if GetAsyncKeyState('A' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |         if GetAsyncKeyState('D' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |         if GetAsyncKeyState('W' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if GetAsyncKeyState('S' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:250:38
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn draw_screen_to_console(h_console: HANDLE, screen: &mut Vec<u16>, bytes_written: &mut u32) {
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleOutputCharacterW` in this scope
[INFO] [stdout]    --> src/main.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         WriteConsoleOutputCharacterW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope
[INFO] [stdout]    --> src/main.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |             COORD { X: 0, Y: 0 },
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Instant`
[INFO] [stdout]  --> src/main.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cmp::Ordering, ptr, time::Instant};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/main.rs:78:31
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn create_console_buffer() -> HANDLE {
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `olc_fps`.
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateConsoleScreenBuffer` in this scope
[INFO] [stdout]   --> src/main.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 81 |         h_console = CreateConsoleScreenBuffer(
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope
[INFO] [stdout]   --> src/main.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope
[INFO] [stdout]   --> src/main.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |             GENERIC_READ | GENERIC_WRITE,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONSOLE_TEXTMODE_BUFFER` in this scope
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             CONSOLE_TEXTMODE_BUFFER,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             NULL,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleActiveScreenBuffer` in this scope
[INFO] [stdout]   --> src/main.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         SetConsoleActiveScreenBuffer(h_console);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if GetAsyncKeyState('A' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |         if GetAsyncKeyState('D' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |         if GetAsyncKeyState('W' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in this scope
[INFO] [stdout]    --> src/main.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 |         if GetAsyncKeyState('S' as i32) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:250:38
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn draw_screen_to_console(h_console: HANDLE, screen: &mut Vec<u16>, bytes_written: &mut u32) {
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleOutputCharacterW` in this scope
[INFO] [stdout]    --> src/main.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         WriteConsoleOutputCharacterW(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope
[INFO] [stdout]    --> src/main.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |             COORD { X: 0, Y: 0 },
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Instant`
[INFO] [stdout]  --> src/main.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cmp::Ordering, ptr, time::Instant};
[INFO] [stdout]   |                               ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `olc_fps`
[INFO] [stdout]    --> src/main.rs:1:1
[INFO] [stdout]     |
[INFO] [stdout] 1   | / #![feature(slice_fill)]
[INFO] [stdout] 2   | |
[INFO] [stdout] 3   | | use std::{cmp::Ordering, ptr, time::Instant};
[INFO] [stdout] 4   | | use winapi::{
[INFO] [stdout] ...   |
[INFO] [stdout] 260 | |     }
[INFO] [stdout] 261 | | }
[INFO] [stdout]     | |_^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d72e02fe87eac8481da15cd40da81645399b53f60e01b9718e9f2211a01d70b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d72e02fe87eac8481da15cd40da81645399b53f60e01b9718e9f2211a01d70b3", kill_on_drop: false }`
[INFO] [stdout] d72e02fe87eac8481da15cd40da81645399b53f60e01b9718e9f2211a01d70b3
